<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>通知信息管理</title>
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/css/bootstrap.css">
	<meta name="decorator" content="default"/>
	<style type="text/css">
		.form-actions{
			padding-bottom:90px;
		}
	</style>
	<script type="text/javascript">
		$(document).ready(function() {

		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/approve/planApprove/">组织生活计划详情修改</a></li>
	</ul>
	<br/>
	<form:form id="inputForm" modelAttribute="homeApprove" action="${ctx}/approve/planApprove/edit" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<input type="hidden" name="checkinfos.organizeLifeId" id="id" value="${homeApprove.id}">
		<input type="hidden" name="checkinfos.approveUserId" id="id" value="${checkinfos.approveUserId }">
		<sys:message content="${message}"/>		

        <div class="control-group">
			<label class="control-label">活动名称：</label>
			<div class="controls">
				<form:input path="lifename" htmlEscape="false" style="width:500px" class="input-xlarge required"/>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">类型：</label>
			<div class="controls">
				<c:forEach items="${listStr}" var="order">
					<input type="checkbox" checked="checked" disabled="disabled" >${order.typename}
				</c:forEach>
			</div>
		</div>
		
        <div class="control-group">
			<label class="control-label">主持人：</label>
			<div class="controls" style="float:left;margin-left: 20px;">
				<form:input path="compere" htmlEscape="false" style="width:200px" class="input-xlarge required"/>
			</div>
			<label class="control-label" >记录人：</label>
			<div class="" style="float:left;margin-left: 20px;">
				<form:input path="column23" htmlEscape="false" style="width:200px" class="input-xlarge required"/>
			</div>
		</div>
		 <div class="control-group">
			<label class="control-label">活动地点：</label>
			<div class="controls">
				<form:input path="adress" htmlEscape="false" style="width:500px" class="input-xlarge required"/>				
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">应到人数：</label>
			<div class="controls" style="float:left;margin-left: 20px;">
				<form:input path="ydnum" htmlEscape="false" style="width:50px" readonly="true" class="input-xlarge required"/>
			</div>
			<label class="control-label" >实到人数：</label>
			<div class="" style="float:left;margin-left: 0px;">
				<form:input path="sdnum" htmlEscape="false" style="width:50px" readonly="true" class="input-xlarge required"/>
			</div>
			<label class="control-label" >缺席人数：</label>
			<div class="" style="float:left;margin-left: 0px;">
				<form:input path="qxnum" htmlEscape="false" style="width:50px" readonly="true" class="input-xlarge required"/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">计划时间：</label>
			<div class="controls" style="float:left;margin-left: 20px;">
				<input name="jhtime" type="text" maxlength="20" readonly="readonly" class="input-medium Wdate " value="<fmt:formatDate value="${homeApprove.jhtime}" pattern="yyyy-MM-dd HH:mm:ss"/>"
				onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',isShowClear:false});"/>
			</div>
			<label class="control-label" >开始时间：</label>
			<div class="" style="float:left;margin-left: 0px;">
				<input name="starttime" type="text" maxlength="20" readonly="readonly" class="input-medium Wdate " value="<fmt:formatDate value="${homeApprove.starttime}" pattern="yyyy-MM-dd HH:mm:ss"/>"
				onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',isShowClear:false});"/>
			</div>
			<label class="control-label" >结束时间：</label>
			<div class="" style="float:left;margin-left: 0px;">
				<input name="endtime" type="text" maxlength="20" readonly="readonly" class="input-medium Wdate " value="<fmt:formatDate value="${homeApprove.endtime}" pattern="yyyy-MM-dd HH:mm:ss"/>"
				onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',isShowClear:false});"/>
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label">内容摘要：</label>
			<div class="controls">
				<form:textarea id="contentzy" htmlEscape="true" path="contentzy" rows="4" maxlength="200" class="input-xxlarge"/>
				<sys:ckeditor replace="contentzy" uploadPath="/approver/planApprove" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">主要内容：</label>
			<div class="controls">
				<form:textarea id="zycontent" htmlEscape="true" path="zycontent" rows="4" maxlength="200" class="input-xxlarge"/>
				<sys:ckeditor replace="zycontent" uploadPath="/approver/planApprove" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">资料照片：</label>
			<div class="controls">				
				<c:forEach var="map" items="${yyzlmap}">
					<div style="float:left">
						<img alt="${map.key}" src="${map.value}" style="width:300px;">
					</div>
				</c:forEach>	
			</div>			
		</div>
		<div class="control-group">
			<label class="control-label">附件：</label>
			<div class="controls">
				<c:forEach var="map" items="${fjmap}">
					<a href="${map.key}">${map.value}</a><br/>
				</c:forEach>				
			</div>
		</div>
		 <div class="control-group">
			<label class="control-label">应到党员：</label>
			<div class="controls">
				<form:input path="bmperson" htmlEscape="false" style="width:800px" readonly="true" class="input-xlarge required"/>				
			</div>
		</div>
		 <div class="control-group">
			<label class="control-label">请假党员：</label>
			<div class="controls">
				<form:input path="qjperson" htmlEscape="false" style="width:800px" readonly="true" class="input-xlarge required"/>				
			</div>
		</div>
		 <div class="control-group">
			<label class="control-label">实到党员：</label>
			<div class="controls">
				<form:input path="sdperson" htmlEscape="false" style="width:800px" readonly="true" class="input-xlarge required"/>				
			</div>
		</div>
		
		<div class="control-group">
			<div class="controls" style="float:right;">
				<button type="submit" class="btn btn-primary">保存</button> &nbsp;&nbsp;
			    <button type="button" class="btn btn-default" onclick="history.go(-1)" >返回</button>  
		    </div>
		</div>
	</form:form>
</body>
</html>